﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YasharEl.Infrastructure.Configuration;

namespace YasharEl.Infrastructure.EntityModel.Configuration
{
    public partial class UnitOfWorkConvertorTypeCallbackValidatorClass
    {
        public static void UnitOfWorkConvertorType(object value)
        {
            Type type = value as Type;
            if (type != null)
            {
                new ImplementorValidator<IUnitOfWorkConvertor, InvalidSystemConfigurationException>()
                    .ValidateType(type, "UnitOfWorkConvertorType");
            }
        }
    }
}
